[XEN][POWERPC] An OK spot to flush the I-Cache
authorJimi Xenidis <jimix@watson.ibm.com>
Tue, 3 Oct 2006 01:43:09 +0000 (21:43 -0400)
committerJimi Xenidis <jimix@watson.ibm.com>
Tue, 3 Oct 2006 01:43:09 +0000 (21:43 -0400)
Its not the best, but it will do for now.
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
--HG--
extra : transplant_source : %D1%F6%D0%F8%20%D8%90%AC%60u%F4z%D1%BAn8%01%21g%B4

xen/arch/powerpc/domain.c

index fead81dad1e486e1fbac100ec3cd5b49515dc8b7..83a649c4d6a7f29e098a20ce3d0bcb69fd2ad990 100644 (file)
@@ -232,6 +232,7 @@ void context_switch(struct vcpu *prev, struct vcpu *next)
 
     mtsdr1(next->domain->arch.htab.sdr1);
     local_flush_tlb(); /* XXX maybe flush_tlb_mask? */
+    cpu_flush_icache();
 
     if (is_idle_vcpu(next)) {
         reset_stack_and_jump(idle_loop);